
from django.conf.urls.defaults import *
from oms import settings

urlpatterns = patterns('',
   url(r'^$',"oms.views.index",name="main-index"),
   (r'^mail/',include("oms.apps.mail.urls")),
   (r'^system/',include("oms.apps.system.urls")),
   url(r'license$','django.views.generic.simple.direct_to_template',{'template':'license.txt','mimetype':'text/plain'},name='license'),
   (r'^oms/static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)
